/**
 * Copyright &copy; 2012-2016 civet All rights reserved.
 */
package cn.mcsys.myadmin.modules.viewer.dao;

import cn.mcsys.myadmin.common.persistence.annotation.MyBatisDao;
import cn.mcsys.myadmin.modules.viewer.entity.AirViewerUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 观众端用户DAO接口
 * @author leopold
 * @version 2018-09-05
 */
@MyBatisDao
public interface AirViewerUserDao {

    AirViewerUser selectByOpenidAndState(@Param("openid") String openid);

    AirViewerUser selectByUsername(String username);

    void insert(AirViewerUser currentUser);

    List<AirViewerUser> findAllList();
}